package com.peanut.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mvc.annotation.NotEmpty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class ChannelType {
	private Integer id;
	
	@NotEmpty
	private String name;  // 渠道分类名
	private Integer parentId;
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTime;
}
